<?php

namespace G4T\Util;

class Words
{
    const DELIMITERS = '\ .,();:';
    public static function getWords($query)
    {
        return preg_split(sprintf("/[%s]/", self::DELIMITERS), $query, null, PREG_SPLIT_NO_EMPTY);
    }
}
